package cn.fws.meap.user.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import cn.fws.framework.web.entity.BaseEntity;
import java.util.Date;

/**
 * 关注用户表 user_concern
 * 
 * @author chenkh
 * @date 2019-03-07
 */
public class Concern extends BaseEntity {

	private static final long serialVersionUID = 1L;
	
	/** 编号 */
	private String id;
	/** 被关注用户id */
	private String attenOpenid;
	/** 主用户id */
	private String openid;
	/** 关注时间 */
	private Date attenTime;
	/** 关注状态(是/否取关) */
	private String isAtten;

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}
	public void setAttenOpenid(String attenOpenid) {
		this.attenOpenid = attenOpenid;
	}

	public String getAttenOpenid() {
		return attenOpenid;
	}
	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOpenid() {
		return openid;
	}
	public void setAttenTime(Date attenTime) {
		this.attenTime = attenTime;
	}

	public Date getAttenTime() {
		return attenTime;
	}
	public void setIsAtten(String isAtten) {
		this.isAtten = isAtten;
	}

	public String getIsAtten() {
		return isAtten;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("attenOpenid", getAttenOpenid())
            .append("openid", getOpenid())
            .append("attenTime", getAttenTime())
            .append("isAtten", getIsAtten())
            .toString();
    }
}
